package com.online.college.core.pay.dao;

import com.online.college.core.pay.domain.PayOrders;

import java.util.List;

public interface PayOrderDao {


	/**
	 *根据payOrderNo获取PayOrder
	 **/
	public PayOrders getById(String payOrderNo);

	/**
	 *根据userId获取PayOrder
	 **/
	public List<PayOrders> queryListByUserId(String userId);

	/**
	*创建新记录
	**/
	public void createSelectivity(PayOrders entity) ;

	/**
	*根据id选择性更新自动
	**/
	public void updatePayOrder(PayOrders entity);

	/**
	*物理删除
	**/
	public void delete(PayOrders entity);

	/**
	*逻辑删除
	**/
	public void deleteLogic(PayOrders entity);



}

